Skip to content

feat(libraries): add dewadifyUp and rayToBps helpers - #1323

Open
piyushbag wants to merge 1 commit into
aave:mainfrom
piyushbag:fix/wadraymath-helpers-640
Open

feat(libraries): add dewadifyUp and rayToBps helpers#1323
piyushbag wants to merge 1 commit into
aave:mainfrom
piyushbag:fix/wadraymath-helpers-640

Conversation

@piyushbag

Copy link
Copy Markdown

Summary

  • Add dewadifyUp, rayToBpsDown, and rayToBpsUp to WadRayMath.
  • Extend wrapper and differential tests for the new helpers.

Test plan

  • forge test --match-contract WadRayMathDifferentialTest (23/23 pass)

Fixes #640

Add dewadifyUp, rayToBpsDown, and rayToBpsUp to WadRayMath with wrapper and differential tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

missing WadRayMath helpers as needed: dewadifyUp, rayToBpsDown and rayToBpsUp

1 participant